routine typing